package cn.mst.vrs.controller.admin.venuetype.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Schema(description = "管理后台 - 体育场地类型新增/修改 Request VO")
@Data
public class VenueTypeSaveReqVO {

    @Schema(description = "体育场地类型编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "体育场地类型编码不能为空")
    private String code;

    @Schema(description = "体育场地类型名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "体育场地类型名称不能为空")
    private String name;

    @Schema(description = "体育场地类型描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "你说的对")
    @NotEmpty(message = "体育场地类型描述不能为空")
    private String description;

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "18431")
    private Long id;

}